﻿using System;
using DevelopTool.Forms.BaseForms;
using DevelopTool.Model.OffLineModels;

namespace DevelopTool.Forms.OffLineForms
{
    /// <summary>
    /// 离线数据窗体
    /// </summary>
    public partial class OffLineForm : BaseUIPage
    {
        /// <summary>
        /// 离线项对象
        /// </summary>
        private OffLine offLine;


        public OffLineForm(OffLine offLine)
        {
            InitializeComponent();

            this.offLine = offLine;
        }


        #region 初始化

        private void OffLineDataForm_Load(object sender,EventArgs e)
        {
            this.dataDisplayControl.BindData(offLine.DataTable,offLine.DataGridColumns);
        }

        #endregion

    }
}
